package com.project.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 国家实体类
 */
@TableName("t_country")
public class CountryBean {
    @TableId(value = "pk_countryId",type = IdType.AUTO)
    private Integer id;
    @TableField("country_name")
    private String name;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "CountryBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }
}
